<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>后台界面</title>
        <meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0" name="viewport" />
        <link href="<?php echo HTTP_UI; ?>css/common.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo HTTP_UI; ?>fonts/iconfont.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo HTTP_UI; ?>css/welcome.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo HTTP_EXTENDS; ?>nice_validator/jquery.validator.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo HTTP_EXTENDS; ?>uploadify/uploadify.css" rel="stylesheet" type="text/css"/>
        <script src="<?php echo HTTP_UI; ?>js/jquery-1.11.2.min.js" type="text/javascript"></script>
        <script src="<?php echo HTTP_EXTENDS; ?>nice_validator/jquery.validator.js" type="text/javascript"></script>
        <script src="<?php echo HTTP_EXTENDS; ?>nice_validator/local/zh_CN.js" type="text/javascript"></script>
        <script src="<?php echo HTTP_EXTENDS; ?>uploadify/jquery.uploadify.min.js" type="text/javascript"></script>
    </head>
    <body>
        <div class="header_empty"></div>
        <header>
            <div class="header_left">
                <em>网站后台系统</em>
            </div>
            <div class="header_right">
                <div class="top">
                    <span><?php echo BaseYsp::getGreetings(); ?></span>
                    <strong><?php echo $_SESSION['admin']['name']; ?></strong>
                    <span>登录时间：</span>
                    <span><?php echo date('Y年m月d日 H:i:s', ($_SESSION['admin']['loginTime'])); ?></span>
                    <a href="#">网站首页</a>
                    <a href="index.php?C=Login&A=index">欢迎页面</a>
                    <a href="index.php?C=Login&A=loginOut">退出登录</a>
                </div>
                <div class="bottom">
                    <?php foreach (parent::$main_menu_list as $ls) { ?>
                        <a href="<?php echo '?C=' . $ls['Fclass'] . '&A=' . $ls['Ffunction'] . '&way=' . $ls['Fway']; ?>" class="<?php
                        if (parent::$main_menu_id == $ls['Fid']) {
                            echo 'hover';
                        }
                        ?>"><?php echo $ls['Fname']; ?></a>
                       <?php } ?>
                </div>
            </div>
        </header>
